<template>
  <i
    :class="['icon', 'iconfont', { [`icon-${type}`]: !(type === '') }]"
    :style="{ fontSize: '14px', display: 'inline-block', ...iconStyle }"
  ></i>
</template>

<script lang="ts">
export default {
  name: "m-icon",
  props: ["type", "iconStyle"],
};
</script>

<style scoped lang="less"></style>
